home *** CD-ROM | disk | FTP | other *** search
- on RestoreShipSpriteLocation
- global theLastSpriteXs, theLastSpriteYs, theFirstShipChannel, theLastShipChannel
- repeat with h = theFirstShipChannel to theLastShipChannel
- set the locH of sprite h to getAt(theLastSpriteXs, h - theFirstShipChannel + 1)
- set the locV of sprite h to the locV of sprite h - (getAt(theLastSpriteYs, 1) - the locV of sprite theFirstShipChannel)
- end repeat
- end
-